<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt_BR"> 

	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="description" content="Dicas de como fazer artigos cientificos, monografias, dissertações, Fichamentos, tecnicas de memorização, apresentação de trabalhos, pesquisas na internet entre outras coisas." />
		<meta name="keywords" content="" />
		<meta name="author" content="" />
        <meta name="title" content="Dicas de como fazer trabalhos acadêmicos | Insite Acadêmico" />
		<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url');?>/css/reset.css" media="screen" />
		<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
		<link href='http://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css' />
		<link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css' />
		<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
		<script src="<?php bloginfo('template_url');?>/js/controller.js"></script>
		<!--[if lt IE 7.]> 
		<script defer type="text/javascript" src="js/pngfix.js"></script> 
		<![endif]-->
		<link rel="shortcut icon" href="<?php bloginfo('template_url');?>/images/favicon.ico" type="image/x-icon" />
		<title><?php bloginfo('name');?></title>

		<?php wp_head(); ?>
		
		<script>

$(document).ready(function(){
       			
		// efeito do menu
			
		  var top = $('#menu-interno').offset().top - parseFloat($('#menu-interno').css('marginTop').replace(/auto/, 0));
		  $(window).scroll(function (event) {
			// what the y position of the scroll is
			var y = $(this).scrollTop();
			if (y >= top) {
			  // if so, ad the fixed class
			  $('#menu-interno').addClass('fixed');
			} else {
			  // otherwise remove it
			  $('#menu-interno').removeClass('fixed');
			}
		  });
		  
		  // ativar a função que randomiza
          shuffleList();
			  
		  
});  
		
		</script>
		
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-35038793-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>		
	</head>

	<body class="container_12" id="secundaria">

		<div id="wrapper" class="grid_12">
		
		
				<div id="topo">
				<div id="login">
					<a id="creative" rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.pt_BR"><img alt="Licença Creative Commons" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-nd/3.0/80x15.png" /></a>
					<ul>
						<?php
							if ( is_user_logged_in() ) {
								global $current_user;
								  get_currentuserinfo();
								  echo '<li><a href='.wp_logout_url( get_permalink() ).' title='. __('Log out of this account', 'profilebuilder').'>'. __('logout', 'profilebuilder').'</a></li>';
							} else {
								echo '';
							};
						?>
					
						<li>
						<?php
							if ( is_user_logged_in() ) {
								global $current_user;
								  get_currentuserinfo();
								  echo '<span id="logado">Olá, ' . $current_user->user_login . '! </span>';
							} else {
								echo '<a href="#" id="botao-login">login</a>';
							};
						?>
						</li>
										
						<li>
						<?php
							if ( is_user_logged_in() ) {
								  echo '';
							} else { ?>
							    <a href="<?php bloginfo('url'); ?>/images/registrar" title="">cadastrar-se</a>
						<?php	};
						?>
						</li>
						
					</ul>
					<div id="login-screen">
						
						<div id="login-widget" class="widget-area">
							<ul class="widgets-ul">
								<?php dynamic_sidebar('area_de_widget3'); ?>
							</ul>
						</div><!-- #login .widget-area -->	
						
						<a id="fechar-login"></a>
					</div>
				</div>
				
				<div id="logo">
					<a href="<?php echo home_url(); ?>" title="">
					<img src="<?php bloginfo('template_url');?>/images/logo-insite2.jpg" />					
					</a>
				</div>
				
				<div id="busca">
					<div id="caixa">
						<form method="get" id="searchform" action="<?php echo home_url(); ?>">
							<input name="s" type="text" id="url" class="s" value="Pesquisar no site" onfocus="if(this.value == 'Pesquisar no site') { this.value = ''; }"></input>
							<input type="submit" id="lupa" title="buscar"></input>
						</form>
					</div>
				</div>
				
			    <?php wp_nav_menu( array( 'theme_location' => 'menu-topo' ) ); ?>

			</div> <!-- fim do topo -->